<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
/*循环语句
	while (条件语句/boolean){
		重复执行的代码块
	}
*/
			var a = 1;    /*1~~~100的和*/
			var he = 0;
			while (a<=100){
				he += a;
				a ++;
			} 
			console.log(he);
			
			
		</script>
	</head>
	<body>
	</body>
</html>
